package com.newcoin.chat.beans.entity;

import com.newcoin.chat.beans.vo.GroupInfoVo;

public class GroupMsgEntity {
    private Long id;
    private Long groupId;
    private Long fromUser;
    private String type;
    private String content;
    private String createDate;
    private Integer state;
    private Integer isSystemType;
    private Long createTimestamp;
    private GroupInfoVo GroupInfoVo;
    private final String msgType = "group";

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Long getFromUser() {
        return fromUser;
    }

    public void setFromUser(Long fromUser) {
        this.fromUser = fromUser;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }


    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getIsSystemType() {
        return isSystemType;
    }

    public void setIsSystemType(Integer isSystemType) {
        this.isSystemType = isSystemType;
    }

    public Long getCreateTimestamp() {
        return createTimestamp;
    }

    public void setCreateTimestamp(Long createTimestamp) {
        this.createTimestamp = createTimestamp;
    }

    public com.newcoin.chat.beans.vo.GroupInfoVo getGroupInfoVo() {
        return GroupInfoVo;
    }

    public void setGroupInfoVo(com.newcoin.chat.beans.vo.GroupInfoVo groupInfoVo) {
        GroupInfoVo = groupInfoVo;
    }

    @Override
    public String toString() {
        return "GroupMsgEntity{" +
                "id=" + id +
                ", groupId=" + groupId +
                ", fromUser=" + fromUser +
                ", type='" + type + '\'' +
                ", content='" + content + '\'' +
                ", createDate='" + createDate + '\'' +
                ", state=" + state +
                ", isSystemType=" + isSystemType +
                ", createTimestamp=" + createTimestamp +
                ", GroupInfoVo=" + GroupInfoVo +
                ", msgType='" + msgType + '\'' +
                '}';
    }
}
